<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <div class="row">
        <h1>单文件上传</h1>
        <form action="${pageContext.request.contextPath}/user/upload" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label for="exampleInputFile">File input</label>
                <input type="file" id="exampleInputFile">
                <p class="help-block">Example block-level help text here.</p>
            </div>
            <button type="submit" class="btn btn-default">Submit</button>
        </form>
    </div>
    <hr />
    <div class="row">
        <h1>多文件上传</h1>
        <form action="${pageContext.request.contextPath}/user/upload" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label for="exampleInputFile1">File input</label>
                <input type="file" id="exampleInputFile1">
                <p class="help-block">Example block-level help text here.</p>
            </div>
            <div class="form-group">
                <label for="exampleInputFile2">File input</label>
                <input type="file" id="exampleInputFile2">
                <p class="help-block">Example block-level help text here.</p>
            </div>
            <button type="submit" class="btn btn-default">Submit</button>
        </form>
    </div>
</body>
</html>
